﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ViewRequest.aspx.cs" Inherits="BookExchange.ViewRequest" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Repeater runat="server" ID="repBook">
        <ItemTemplate>
            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="#" Text='<%#ShowData(Container.DataItem,"Finish") %>' />
            <asp:Label ID="Label1" runat="server" Text='<%#Eval("CreatingDate") %>' />
            <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="#" Text='<%#ShowData(Container.DataItem,"Category") %>' />
            <asp:Image ID="Image1" runat="server" ImageUrl='<%#ShowData(Container.DataItem,"Image")%>' />
            <div>
                Thông tin sách vui lòng xem tại <a href='<%#Eval("BookUrl")%>'>ĐÂY</a> 
                Tình trạng sách: <%#Eval("Description") %> 
                Giá bìa: <%#Eval("Price1") %> 
                Giá bán: <%#Eval("Price2") %> (giảm <%#ShowData(Container.DataItem,"Discount")%>%) 
                Liên hệ: <%#Eval("Contact") %>
            </div>
        </ItemTemplate>
    </asp:Repeater>
</asp:Content>
